export type EntityId = string | number
export type EntitySuper = Record<string, any>

export type IResponseData<T> = {
  /**
   * @rule 15-25
   */
  data: T

  /**
   * 业务状态
   * @value true
   **/
  success: boolean

  /**
   * 错误消息
   * @value '请求成功'
   **/
  msg?: string

  /**
   * 状态码
   * @value '200'
   **/
  code: string
}

export interface PageQueryParams {
  ids?: EntityId[]
  current?: number
  page?: number
  pageSize?: number
  sort?: string | string[]
  timestamp?: string
  _export_scope_?: string
  _export_type_?: string
  total?: number
}
